<template>
	<div>
		<TypeNav></TypeNav>
		<ListContainer></ListContainer>
		<TodayRecommend></TodayRecommend>
		<Rank></Rank>
		<Like></Like>
		<Floor></Floor>
		<Floor></Floor>
		<Brand></Brand>
	</div>
</template>

<script>
	import TypeNav from './TypeNav'
	import ListContainer from './ListContainer'
	import TodayRecommend from './TodayRecommend'
	import Rank from './Rank'
	import Like from './Like'
	import Floor from './Floor'
	import Brand from './Brand'
	
	export default {
		name: '',
		components: {
			TypeNav,
			ListContainer,
			TodayRecommend,
			Rank,
			Like,
			Floor,
			Brand
		},
		// 组件挂载完毕,发送请求
		// 也可以用mounted
		created(){
			// 派发action
			this.$store.dispatch('goCategory')
		}
	}
</script>

<style>

</style>